<template>
    <div>
        <router-view/>
        <ul>
            <li v-for="(item,index) in pagelists"
            :key="index"
            >{{item.title+item.content}} </li>
        </ul>
    </div>
</template>

<script>
    import store from '@/store.js'
    export default {
        name: "List",
        store,
       /* data() {
            return {
                pagelists:""
            };
        },*/
        computed: {
            pagelists() {
                return store.state.lists
            }
        }

    }
</script>

<style scoped>

</style>